.container {
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table th {
    background-color: #f8f9fa;
}

.btn-action {
    margin: 0 2px;
}

.modal-header {
    background-color: #f8f9fa;
}

/* 全局样式 */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
}

/* 内容区域样式 */
.container-fluid {
    padding: 20px;
}

/* 卡片样式 */
.card {
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* 表格样式 */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

/* 按钮样式 */
.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
}

/* 表单样式 */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 模态框样式 */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* 徽章样式 */
.badge {
    padding: .35em .65em;
    font-weight: normal;
}

/* 搜索框样式 */
.input-group {
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .container-fluid {
        padding: 10px;
    }
    
    .table-responsive {
        margin-bottom: 0;
    }
    
    .btn-sm {
        padding: .2rem .4rem;
        font-size: .8rem;
    }
}

/* 动画效果 */
.fade {
    transition: opacity .15s linear;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
}

/* 提示框样式 */
.alert {
    margin-bottom: 1rem;
    border: none;
    border-radius: .25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.alert-dismissible .btn-close {
    padding: 1rem;
}

/* 加载状态样式 */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -.5rem 0 0 -.5rem;
    border: 2px solid #fff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spinner .75s linear infinite;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
} 